<!-- 测试 -->
<template>
<com-dialog v-model="visible" title="asdfafd" width="800px">
  234234
  <div slot="footer">
    <el-button size="medium" @click="visible = false">取 消</el-button>
    <el-button type="primary" size="medium" @click="visible = false">确 定</el-button>
  </div>
</com-dialog>
</template>
<script>
export default {
  data () {
    return {
      visible: false
    }
  },
  mounted () {

  },
  methods: {
    open () {
      this.visible = true;
    }
  }
}
</script>
<style lang="scss">

</style>